package com.euc.springbootframework.controller;


import com.euc.springbootframework.controller.base.RESTBaseController;
import com.euc.springbootframework.entity.Baike;
import com.euc.springbootframework.service.BaikeService;
import com.euc.springbootframework.service.base.RestBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@ResponseBody
@RequestMapping(value = "/test")
public class BaikeController extends RESTBaseController<Baike> {

    @Autowired
    BaikeService baikeService;

    @Override
    public RestBaseService<Baike> getRestService() {
        return baikeService;
    }
}
